<!DOCTYPE html>
<html>
<head>
    <title>dome1</title>
    <script src="../index.js"></script>
</head>
<body>
<button onclick="open()">按钮</button>

<script>
    var open = function () {
        openFile('image/png').then(function (data) {
            if (data) {
                console.log(data)
            }
        })
    }
</script>
</body>
</html>
